import request from '@/utils/request'
// 查询账单列表
export function getBillListByUserId(userId){
	const data = {
		'userId':userId
	}
	return request({
		url: "/system/bill/list",
		method: "get",
		params: data
	})
}
// 查询账单详情
export function getBillInfo(bid){
	const data = {
		"billInfoId":bid
	}
	return request({
		url:"/system/bill/info",
		method:"get",
		params:data
	})
}
// 查询用电报告详情
export function getElecInfo(bid){
	const data = {
		"usageId":bid
	}
	return request({
		url:"/system/elecImport/info",
		method:"get",
		params:data
	})
}
// 查询用户上月账单支付情况

// 查询用户上月账单金额
export function getLastBillInfo(uid){
	const data = {
		"userId":uid
	}
	return request({
		url:"/system/bill/last",
		method:"get",
		params:data
	})
}